package com.neusoft.databus.agent.pool.wangguan;

import org.apache.commons.net.ftp.FTPClient;
import org.apache.commons.pool2.KeyedPooledObjectFactory;
import org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig;
import org.springframework.stereotype.Component;

import com.neusoft.databus.common.connection.WangguanConnection;
import com.neusoft.databus.common.pool.AbstractPool;

/**
 * description
 *
 * @author sunchf
 * @date 2019年4月2日 上午9:29:52
 */
@Component
public class WangguanPool extends AbstractPool<WangguanConnection, FTPClient> {

    @Override
    public String getName() {
        return "泰岳网关FTP连接池";
    }

    @SuppressWarnings("rawtypes")
    public WangguanPool(final KeyedPooledObjectFactory<WangguanConnection, FTPClient> factory,
            final GenericKeyedObjectPoolConfig wangguanPoolConfig) {
        super(factory, wangguanPoolConfig);
    }

}
